<template>
	<view>
		<view class="container-pc">
			<view class="w">
				<view class="content" style="z-index: 999;" :style="{background:bgcolor}">
					<view class="tab flex_between" style="height: 100px;width: 100%;">
						<view class="logo flex_">
							<image src="/static/logo.png" class="img" mode=""></image>
							<view class="title">Zhengzhou Zhijian Intelligence Technology Co., Ltd.</view>
						</view>
						<view class="posi1" style="font-weight: 700;font-size: 16px;cursor: pointer;">home</view>
						<view class="posi" style="font-weight: 700;font-size: 16px;cursor: pointer;" @click="current2">
							About us</view>
					</view>
					<view class="imgs_posi">
						<image src="../../static/Group1(1).webp" class="img" mode="widthFix"></image>
						<view class="posis"></view>
					</view>
				</view>
			</view>
			<view class="content-bg">

			</view>
			<!-- 	<u-sticky h5-nav-height='0' :bg-color='bgcolor' v-if="show">
				<view class="content1" style="z-index: 999;" :style="{background:bgcolor}">
					<view class="w">
						<view class="posibox" style="height: 100px;width: 100%;">
							<image src="/static/menu (1).webp" class="img" mode=""></image>
							<view class="posi1" @click="current1">home</view>
							<view class="posi" @click="current2">About us</view>
						</view>
					</view>

				</view>
			</u-sticky> -->
			<view class="w">
				<view class="down1">
					<image src="/static/w1(1).webp" class="img" mode="widthFix"></image>
				</view>
				<view class="down2">
					<image src="/static/w2(2).webp" class="img" mode="widthFix"></image>
					<view class="posi"></view>
				</view>
			</view>
			<view class="photo">
				<view class="w">
					<image src="/static/Group 9@2x.webp" mode="" class="img"></image>
				</view>
			</view>
			<view class="imgbox ">
				<view class="w">
					<image src="/static/blog section@2x.webp" class="img" mode=""></image>
				</view>
			</view>
			<view class="footer">
				<view class="w">
					<view class="footer-content flex_">
						<view class="left">
							<image src="../../static/logo.png" class="img" mode=""></image>
							<h1 class="title">Zhengzhou Zhijian Intelligence Technology Co., Ltd.</h1>
						</view>
						<view class="right">
							<h1>ABOUT US</h1>
							<img src="" alt="" />
							<view class="item">
								<view class="tit">company address</view>
								<view class="text">No. R08-798, 1st Floor, Unit 2, Building 7, Zhongyuan Advertising Industrial Park, No. 53, Science Avenue, High-tech Zone, Zhengzhou City, Henan Province</view>
							</view>
							<view class="item">
								<view class="tit">Mail</view>
								<view class="text">yang@zhijianzhineng.com</view>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				bgcolor: 'transparent',
				show: false
			}
		},
		onPageScroll(e) {
			if (e.scrollTop < 999) {
				this.show = false
				this.bgcolor = 'transparent';
			} else {
				this.show = true
				this.bgcolor = '#073dd8';
			}

		},
		onLoad() {

		},
		methods: {

			current2() {
				uni.pageScrollTo({
					scrollTop: 9999,
					duration: 600
				});
			},
			current1() {
				uni.pageScrollTo({
					scrollTop: 0,
					duration: 600
				});
			},
		}
	}
</script>

<style lang="scss">
	.flex_between{
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.flex_{
		display: flex;
		align-items: center;
	}
	.w {
		width: 1200px;
		margin: 0 auto;
		font-family: Poppins, Poppins;
	}

	.container-pc {
		.content-bg {
			position: absolute;
			top: 0;
			width: 100%;
			height: 960px;
			background: url(/static/Slider@2x.webp) no-repeat;
			background-size: 100% 100%;
			z-index: -1;
		}

		.content1 {
			position: relative;
			width: 100%;

			.img {
				height: 100px;
				transform: translateY(-10px);
			}

			.posibox {
				position: relative;

				.posi {
					cursor: pointer;
					position: absolute;
					top: 0;
					right: 0;
					width: 100px;
					height: 100px;
				}

				.posi1 {
					cursor: pointer;
					position: absolute;
					top: 0;
					right: 100px;
					width: 100px;
					height: 100px;
				}
			}

		}

		.content {
			position: relative;
			height: 960px;
			width: 100%;

			.tab {
				position: relative;
				color: #fff;

				.img {
					width: 46px;
					height: 46px;
				}

				.title {
					margin-left: 14px;
					font-size: 28px;
					font-weight: 600;
					letter-spacing: 2px;
				}
			}

			.imgs_posi {
				position: absolute;
				top: 300px;
				width: 100%;

				.posis {
					position: absolute;
					bottom: 0;
					left: 0;
					width: 240px;
					height: 80px;
				}
			}
		}

		.down1 {
			position: relative;
			width: 100%;
			margin-top: 80px;

			.posi {
				position: absolute;
				top: 10px;
				left: -40px;
				width: 30px;
				height: 30px;

				.img {
					width: 100%;
					height: 100%;
				}
			}
		}

		.down2 {
			position: relative;
			width: 100%;
			margin-top: 80px;

			.posi {
				position: absolute;
				top: 0px;
				left: 330px;
				width: 30px;
				height: 30px;

				.img {
					width: 100%;
					height: 100%;
				}
			}
		}

		.photo {
			margin-top: 100px;
			width: 100%;
			height: 600px;
			background: url(/static/bg@2x.webp) no-repeat;
			background-size: 100% 100%;

			.img {
				height: 600px;
			}
		}

		.imgbox {
			width: 100%;
			height: 800px;

			.img {
				height: 800px;
			}
		}

		.footer {
			width: 100%;
			height: 378px;
			background: url(/static/Footer@2x.webp) no-repeat;
			background-size: 100% 100%;
			color: #fff;

			.footer-content {
				padding-top: 200rpx;
				display: flex;
				align-items: flex-start;

				.img {
					width: 130rpx;
					height: 130rpx;
				}

				.title {
					margin-top: 20rpx;
					margin-left: 16rpx;
					width: 400px;
				}

				.right {
					margin-left: 300px;

					h1 {
						margin-bottom: 30px;
					}

					.item {
						margin-bottom: 20px;
						.tit {
							font-size: 18px;
							font-weight: 700;
							margin-bottom: 6px;
						}

						.text {
							font-size: 16px;
						}
					}
				}
			}
		}
	}
</style>